package com.zhudeshuai.zhudemolist.activity;

import android.content.Intent;
import android.os.Bundle;
import android.app.Activity;

import com.zhudeshuai.zhudemolist.R;
import com.zhudeshuai.zhudemolist.widget.MyPlayer;

/**
 * 自定义视频播放器
 *
 * @author zhudeshuai
 * @since 16/4/25
 */
public class PlayerDemoActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_player_demo);

        MyPlayer myPlayer = (MyPlayer) findViewById(R.id.myPlayer);

    }

    public static void open(Activity activity) {
        activity.startActivity(new Intent(activity, PlayerDemoActivity.class));
    }

}
